package com.atghost.minio.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.InputStream;

/**
 * @author lc
 * @since 2024/4/9 16:58
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UploadChunkReq {
    @ApiModelProperty("分片数据")
    private InputStream file;
    @ApiModelProperty("分片大小")
    private Long size;
    @ApiModelProperty("分片标识")
    private String id;
    @ApiModelProperty("分片id")
    private Integer chunkId;
}
